package com.muyu.system.mapper;


import com.muyu.system.domain.DanmoUserFlagship;

import java.util.List;

/**
 * 旗舰店关注Mapper接口
 * 
 * @author kunzong
 * @date 2024-12-24
 */
public interface DanmoUserFlagshipMapper 
{
    /**
     * 查询旗舰店关注
     * 
     * @param id 旗舰店关注主键
     * @return 旗舰店关注
     */
    public DanmoUserFlagship selectDanmoUserFlagshipById(Long id);

    /**
     * 查询旗舰店关注列表
     * 
     * @param danmoUserFlagship 旗舰店关注
     * @return 旗舰店关注集合
     */
    public List<DanmoUserFlagship> selectDanmoUserFlagshipList(DanmoUserFlagship danmoUserFlagship);

    /**
     * 新增旗舰店关注
     * 
     * @param danmoUserFlagship 旗舰店关注
     * @return 结果
     */
    public int insertDanmoUserFlagship(DanmoUserFlagship danmoUserFlagship);

    /**
     * 修改旗舰店关注
     * 
     * @param danmoUserFlagship 旗舰店关注
     * @return 结果
     */
    public int updateDanmoUserFlagship(DanmoUserFlagship danmoUserFlagship);

    /**
     * 删除旗舰店关注
     * 
     * @param id 旗舰店关注主键
     * @return 结果
     */
    public int deleteDanmoUserFlagshipById(Long id);

    /**
     * 批量删除旗舰店关注
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDanmoUserFlagshipByIds(Long[] ids);

    DanmoUserFlagship selectDanmoUserFlagshipByFlagshipIdAndUserId(DanmoUserFlagship danmoUserFlagship);
}
